package com.wyh.domain.dto.feemanagementdto;

import com.wyh.domain.po.feemanagementpo.BillVerification;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class VerificationDataDto {
    @ApiModelProperty(value = "核销账单集合")
    @NotEmpty(message = "请选择要核销的账单")
    private List<BillVerification> billVerificationList;
    @ApiModelProperty("客户id")
    @NotNull(message = "客户id不能为空")
    @Min(message = "客户id不符合",value = 1)
    private Integer customerid;
    @ApiModelProperty("收款记录id")
    private Integer paymentrecordsid;
    @ApiModelProperty("收款记录使用金额{当前选中的收款记录前端使用金额}")
    private BigDecimal paymentrecordsmoney;
    @ApiModelProperty(value = "发票类型")
    private Integer invoicetype;
}
